package com.lonely.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lonely.order.domain.entity.SysOrderProcessItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : 黄志标
 * @date: 2025/7/2 10:47
 * @description: 订单工序明细mapper
 */
public interface SysOrderProcessItemMapper extends BaseMapper<SysOrderProcessItem> {

    /**
     * 根据工序id批量物理删除对应的工序明细
     *
     * @param needDeleteOrderProcessIds
     */
    void physicalDeletionByOrderProcessIds(@Param("orderProcessIds") List<Long> needDeleteOrderProcessIds);

}
